package com.his.registration.service.impl;

import com.his.registration.mapper.EmployeeMapper;
import com.his.registration.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @BelongsProject: workspace-idea
 * @BelongsPackage: com.his.registration.service.impl
 * @Author: ZhangYing
 * @Date: 2023/7/1 19:08
 * @Description:
 */
@Service
public class EmployeeServiceImpl implements EmployeeService {
    @Autowired
    private EmployeeMapper employeeMapper;
    @Override
    public int getIdByName(String employeeName) {
        return employeeMapper.getIdByName(employeeName);
    }
}
